/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package man1;

/**
 *
 * @author 陈彪
 */
public class Man {
    private String eyescolor;

    public String getEyesColor() {
        return eyescolor;

    }

    public void setEyescolor(String eyescolor) {
        this.eyescolor = eyescolor;
    }
}

class AsiaMan extends Man {
     public static void main(String[] args) {
        AsiaMan euro = new AsiaMan();
        euro.setEyescolor("黑色的");
        System.out.println("亚洲人的眼睛颜色是" + euro.getEyesColor());
    }
}

class EuroMan extends Man {

    public static void main(String[] args) {
        EuroMan euro = new EuroMan();
        euro.setEyescolor("绿色的");
        System.out.println("欧洲人的眼睛颜色是" + euro.getEyesColor());
    }
    
    
    

}
